home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / what's new / technical documentation / macintosh technotes and q&as / qa / c / embeddingicc_tiff.hqx / EmbeddingICC_TIFF
Encoding:
Text File  |  1995-06-08  |  1.6 KB  |  34 lines

  1. Embedding ICC Profiles in TIFF
  2.  
  3. The discussion below assumes some familiarity with TIFF internal structure.
  4. It is beyond the scope of this document to detail the TIFF format, and readers are
  5. referred to the "TIFF(tm) Revision 6.0" specification, which is available from
  6. the Aldus Corporation.
  7.  
  8. The InterColor Consortium (IC) has been assigned a private TIFF tag for
  9. purposes of embedding IC device profiles within TIFF image files. This is not a
  10. required TIFF  tag, and Baseline TIFF readers are not currently required to read
  11. it. It is, however, strongly recommended that this tag be honored.
  12.  
  13. A IC device profile is embedded, in its entirety, as a single TIFF field or
  14. Image File Directory (IFD) entry in the IFD containing the corresponding image
  15. data. An IFD should contain no more than one embedded profile.  A TIFF file may
  16. contain more than one image, and so, more than one IFD.  Each IFD may have its
  17. own embedded profile.  Note, however, that Baseline TIFF readers are not
  18. required to read any IFDs beyond the first one.
  19.  
  20. The structure of the IC Profile IFD entry is as follows:
  21.  
  22. Bytes 0-1        The TIFF  Tag that identifies the field = 34675(8773.H)
  23. Bytes 2-3        The field Type = 7 = UNDEFINED (treated as 8-bit bytes).
  24. Bytes 4-7        The Count of values = the size of the embedded IC profile in bytes.
  25. Bytes 8-11        The Value Offset = the file offset, in bytes, to the beginning of
  26.             the IC profile.
  27.  
  28. Like all IFD entry values, the embedded profile must begin on a word boundary,
  29. so the Value Offset will always be an even number.
  30.  
  31. A TIFF reader should have no knowledge of the internal structure of an embedded
  32. IC profile and should extract the profile intact.
  33.  
  34.